import time
import itertools
#a = "0123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"
#mylist = list(itertools.product("0123456789", repeat=3))
passwd = ("".join(x) for x in itertools.product("0123456789", repeat=8))
#print(mylist)
#print(len(mylist))
while True:
    try:
        str = next(passwd)
        time.sleep(0.1)
        print(str)
    except StopIteration as e:
        break